/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.herenit.beijing.dh2011.security.service;

import com.herenit.beijing.dh2011.business.base.BaseManager;
import com.herenit.beijing.dh2011.security.entity.SecurityMenu;
import java.util.List;
import javax.ejb.Stateless;

/**
 *
 * @author Obama
 */
@Stateless
public class LoginManager extends BaseManager implements ILoginManagerRemote {

    @Override
    public List<SecurityMenu> login(String userName, String password) {

        em.createQuery("select * from SecurityMenu m left join m.securityMenuRoleList smr left join smr.roleId r left join r");
        
        return null;


    }
}
